home *** CD-ROM | disk | FTP | other *** search
- tell application "MenuScripter"
- copy selection of window 1 to usersel
- copy style of usersel to selstyle
- if on styles of selstyle contains shadow then
- set x to {class:text style info, on styles:{}, off styles:{shadow}}
- else
- set x to {class:text style info, on styles:{shadow}, off styles:{}}
- end if
- set style of usersel to x
- end tell